package cn.felord.app.data;

import java.io.Serializable;

/**
 * @author dax
 * @since 2019/4/14 0:58
 */
public class MessageBody implements Serializable {

    private static final long serialVersionUID = -1568986779580530764L;
    private String to;
    private Long date;
    private String from;
    private String content;


    public String getTo() {
        return to;
    }

    public void setTo(String to) {
        this.to = to;
    }

    public Long getDate() {
        return date;
    }

    public void setDate(Long date) {
        this.date = date;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "MessageBody{" +
                "to='" + to + '\'' +
                ", date=" + date +
                ", from='" + from + '\'' +
                ", content='" + content + '\'' +
                '}';
    }
}
